#include "stdafx.h"
#include <iostream>
#include "mytime.h"

using namespace std;
int main_usemytimecpp(){
	mytime planning;
	mytime coding(2,40);
	mytime fixing(5,55);
	mytime total;

	cout <<"planning time=" ;
	planning.show();
	cout << endl;

	cout <<"coding time=";
	coding.show();
	cout << endl;

	cout <<"fixing time=";
	fixing.show();
	cout << endl;

	//total = coding.Sum( fixing);
	total = coding + fixing;
	cout <<"total(coding+fixing)=";
	total.show();
	cout << endl;
	return 0;
}

